WOBrowser


Synopsis

WOBrowser{ list=anArray; [item = anItem; value = displayedValue;] [selections = objectArray;] [name = fieldName;] [disabled = YES|NO;] ... };

Description

WOBrowser displays itself as a selection list that allows the user to select multiple items at a time. The related element WOPopUpButton is similar to WOBrowser except that it restricts the user to selecting only one item at a time.

list
The NSArray containing the elements of the list. For example, colleges could name the list containing objects that represent individual schools.
item
The identifier for the elements of the list. For example, aCollege could represent an object in the colleges array.
value
The value to display in the selection list; for example, aCollege.name for each college object in the list.
selections
An NSArray of objects that the user chose from list. For the college example, selections would hold college objects.
name
A name that uniquely identifies this element within the form. You can specify a name or let WebObjects automatically assign one at runtime.
disabled
If disabled evaluates to YES, this element appears in the page but is not active.

Examples